KtorWriteStandardKeyValueRepo

class KtorWriteStandardKeyValueRepo<K, V>(baseUrl: String, unifiedRequester: UnifiedRequester, keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>) : WriteStandardKeyValueRepo<K, V>

Constructors

KtorWriteStandardKeyValueRepo
Link copied to clipboard
fun <K, V> KtorWriteStandardKeyValueRepo(baseUrl: String, client: <ERROR CLASS>, keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat)

Functions

set
Link copied to clipboard
open suspend override fun set(toSet: Map<K, V>): <ERROR CLASS>
unset
Link copied to clipboard
open suspend override fun unset(toUnset: List<K>): <ERROR CLASS>
unsetWithValues
Link copied to clipboard
open suspend override fun unsetWithValues(toUnset: List<V>): <ERROR CLASS>

Properties

onNewValue
Link copied to clipboard
open override val onNewValue: Flow<Pair<K, V>>
onValueRemoved
Link copied to clipboard
open override val onValueRemoved: Flow<K>